const utilMd5 = require('./md5');
const fetch = require('./fetch');

fetch('inquiryDoctor/jiguang/config').then(res => {
    console.log(res)

})


const timestamp = new Date().getTime();
const appkey = "00ca9e9d16207e781db439b4"
const masterSecret = '83e09cf66db6e3b1f69366d3';
const isFrontSignature = true;

const signature = utilMd5.hexMD5("appkey=" + appkey + "&timestamp=" + timestamp + "&random_str=abcdefghijk_123456789&key=" + masterSecret);

export const authPayload = {
    appkey,
    masterSecret,
    isFrontSignature,
    signature,
    timestamp
}